package com.ctshk.rpc.order.air.req.orderDetail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

/**
 * <p>
 * 机票订单多程航班表
 * </p>
 *
 * @author lihang
 * @since 2021-03-16
 */
@Data
@ApiModel(value="AirOrderFlight对象", description="机票订单多程航班表")
public class AirOrderFlightData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("航班信息id")
    private Long id;

    @ApiModelProperty(value = "航班id",required = true)
    private Long flightId;

    @ApiModelProperty(value = "机票产品Id")
    private Long productId;

    @ApiModelProperty(value = "下单日期")
    private LocalDate date;

    @ApiModelProperty(value = "航空公司Id")
    private Long companyId;

    @ApiModelProperty(value = "航空公司名称")
    private String companyName;

    @ApiModelProperty(value = "第几程",required = true)
    private Integer tripRank;

    @ApiModelProperty(value = "航班号")
    private String flightNumber;

    @ApiModelProperty(value = "船舱等级")
    private Long cabinClass;

    @ApiModelProperty(value = "船舱等级名称")
    private String cabinName;

    @ApiModelProperty(value = "出发时间")
    private LocalTime depTime;

    @ApiModelProperty(value = "出发地id")
    private Long depCityId;

    @ApiModelProperty(value = "出发地名称")
    private String depCityName;

    @ApiModelProperty(value = "到达地id")
    private Long arrCityId;

    @ApiModelProperty(value = "到达地名称")
    private String arrCityName;

    @ApiModelProperty(value = "起飞机场id")
    private Long depAirportId;

    @ApiModelProperty(value = "起飞机场")
    private String depAirportName;

    @ApiModelProperty(value = "到达机场Id")
    private Long arrAirportId;

    @ApiModelProperty(value = "到达机场")
    private String arrAirportName;

    @ApiModelProperty(value = "到达时间")
    private LocalTime arrTime;

    @ApiModelProperty(value = "耗时")
    private String timeConsuming;

    @ApiModelProperty(value = "航班价格信息，对应旅客类型,JSON格式 对应 OrderFlightPriceData 对象")
    private String flightPrice;

    @ApiModelProperty(value = "航班旅客价格信息")
    private List<AirOrderFlightPriceData> orderFlightPriceDataList;


}
